<?php
ob_start();
@session_start();
include('includes/dbconnection.php');
include("../ajaxify/index.html");

if($_SESSION['tcADMINID'] == "")
{
	include('login.php');	
	exit;
}

include('site_header.php');

if($_REQUEST['tc'] == "" || $_REQUEST['tc'] == "home")
{
	require_once('home.php');
}
else
{
	$url = $_REQUEST['tc'].".php";	
	require_once($url);
}

include('site_footer.php');
?>